← Back to issue list

Snapcraft doesn't update the `snapcraft-project` disk source when the path is moved

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1825820
Type
issue
State
open
Author
~brlin
Labels
Created
2019-04-22 11:02:11.613606+00:00
Updated
2019-04-22 11:02:11.613606+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Bug reproduce instructions -------------------------- 1. Run `snapcraft --use-lxd` in one project 1. Move the project directory to another path 1. Re-run `snapcraft --use-lxd` Current behavior ----------------- Snapcraft errors with: ``` An error occurred with the instance when trying to start with 'LXD': Common start logic: Missing source '/home/brlin/工作空間/個人專案/Unofficial Snap Packaging for waifu2x' for disk 'snapcraft-project'. Ensure that 'LXD' is setup correctly and try again. ``` Expected behavior ------------------ Snapcraft should check the project directory path, and if it's changed, update the `snapcraft-project` disk source path

Evaluation history

No evaluation history available.